<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>watch和computed区别</title>
    <!--    引入Vue-->
    <script src="../../static/js/vue.js"></script>
</head>
<body>
<!--装备好一个容器-->
<div id="root">
    <input type="text" v-model="first"><br><br>
    <input type="text" v-model="last"><br><br>
    全名 {{full}}
</div>
</body>
</html>
<script src="index.js"></script>
